<template>
  <div class="collection-container">
    <profile-header></profile-header>
    <div class="content">
      <a-tabs v-model:activeKey="activeKey">
        <a-tab-pane key="1" tab="短视频"></a-tab-pane>
        <!-- <a-tab-pane key="2" tab="帖子"></a-tab-pane> -->
      </a-tabs>
      <div class="content">
        <div class="empty-state">
          <a-empty description="暂无数据" />
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { Tabs } from 'ant-design-vue'
import ProfileHeader from './profileHeader.vue'

const activeKey = ref('1')
</script>

<style lang="scss" scoped>
.collection-container {
  //   min-height: 100vh;

  :deep(.ant-tabs-nav) {
    margin-bottom: 20px;

    // 添加以下样式
    .ant-tabs-ink-bar {
      background-color: #16b13a;
    }

    .ant-tabs-tab {
      color: #333; // 默认颜色

      &.ant-tabs-tab-active {
        .ant-tabs-tab-btn {
          color: #16b13a;
        }
      }
    }
  }
  :deep(.ant-tabs-tab) {
    border-radius: 20px;
    padding: 8px 16px;

    &.ant-tabs-tab-active {
      //   background-color: #1890ff;

      //   .ant-tabs-tab-btn {
      //     color: #fff;
      //   }
    }
  }

  .content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    // display: flex;
    // justify-content: center;
    // align-items: center;
    // min-height: 400px;

    .empty-state {
      text-align: center;
    }
  }
}
</style>
